package com.xqboss.apps.dto.team;

import com.xqboss.apps.enums.consumer.ConsumerTeamMemberTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 邀请加入队伍
 *
 * @author makejava
 * @since 2023-12-15 14:27:09
 */
@Data
@ApiModel("队伍-邀请加入")
public class TeamInviteJoinDto {

    @ApiModelProperty("用户账号(注册邀请入队专用)")
    private String userName;

    @ApiModelProperty("邀请码")
    @NotBlank(message = "邀请码不能为空")
    private String invitationCode;

    @ApiModelProperty("关系类型")
    @NotNull(message = "关系类型不能为空")
    private ConsumerTeamMemberTypeEnum type;

}

